package com.hands.commen.utils;

public class Utils {

    /**
     * base64解密
     * @param args
     * @return
     */
    public static byte[] decodeByteBase64(String args){
        byte[] bytes = Base64.decode(args);
        return  bytes;
    }

    /**
     * base64加密
     * @param args
     * @return
     */
//    public static byte[] encodeByteBase64(String args){
//        byte[] data = Base64.encode(args.getBytes());
//        return data;
//    }

    public static String[] splitData(String args,String splitChar){
        String[] strArr = args.split(splitChar);
        return strArr;
    }


}
